mixin header(item)
  div.jlai-header
    div.jlai-banner.banner-top
      div.jlai-container.banner-w
        a.logo-w(href="/")
          img(src="../images/logo.png")
        div.mn
        div.right-w
          div.language-w
            div.language-mn
              a(href="#") 吉林动画学院官网
              span |
              a(href="#") ENGLISH
              span |
              a(href="#") 한국어
          div.search-w
            div.search-ipt
              input.ipt(type="text" placeholder="输入关键字查询")
            div.search-btn
              i.icon.icon-serach
    div.jlai-banner.banner-nav
      div.jlai-container.banner-w
        div.nav-cells
          each val in navs
            div.nav-cell
              div.nav-title
                div.nav-title--w
                  if val.child && val.child.length > 0
                    a(href= val.title + '-' + val.child[0].title + '.html' target="_blank") #{val.title}
                  else
                    a(href="/" target="_blank") #{val.title}
              if val.child
                div.nav-menus
                  ul.nav-menus--w
                    each child in val.child
                      li
                        div.title
                          a(href=child.title + '.html' target="_blank") #{child.title}
                            if child.child
                              i.icon.icon-array-right
                        if child.child
                          div.child
                            ul.child--w
                              each childItem in child.child
                                li
                                  a(href=childItem.title + '.html' target="_blank") #{childItem.title}